package hn.cch.redisson.service;

public interface RedissonService {

    public boolean isExists(String keyName);

    public void setInteger(String keyName, Integer value);

    public Integer getInteger(String keyName);

    public boolean increment(String keyName);

    public void useDistributedLock(String lockKey, Runnable runnable);
}
